count number of rows laravel controller

97

count number of rows laravel controller -

$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();

Comments

Submit
0 Comments